package com.css.fxfzypg.modules.saresults.repository;

import com.css.fxfzypg.base.response.RestResponse;
import com.css.fxfzypg.modules.saresults.entity.DzqhGroundMotionParametersEntity;
import com.css.fxfzypg.modules.saresults.param.MotionParametersParam;

import java.util.HashMap;
import java.util.List;

public interface GroundMotionParametersRepository {
    void saveData(DzqhGroundMotionParametersEntity parameters);

    HashMap<String,Object> queryMotionParameters(MotionParametersParam motionParametersParam, int page, int size,String geom);

    DzqhGroundMotionParametersEntity getGmpByGmpId(String gmpId);

    List<Integer> getProvinceNumber(String province);

    List<Integer> getCityNumber(String city);

    List<Integer> getCountyNumber(String county);

    void deleteDataById(String gmpId);

    DzqhGroundMotionParametersEntity getGmpByOriginalId(String originalId);

    void updateDataByOriginalId(DzqhGroundMotionParametersEntity entity);

    List<Long> getAllId();

    DzqhGroundMotionParametersEntity getGmpById(Long id);

    List<DzqhGroundMotionParametersEntity> getMotionParameters(MotionParametersParam param);

    List<DzqhGroundMotionParametersEntity> getByGeom(MotionParametersParam motionParametersParam,String geom);
}
